package ${package}.mapper;

import ${package}.po.${table.className};
import ${package}.po.${table.className}Example;
import ${package}.ao.QueryInfo;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ${table.className}Mapper {

    int countByExample(${table.className}Example example);

    int deleteByExample(${table.className}Example example);

    int deleteByPrimaryKey(Long id);

    int insert(${table.className} record);

    int insertSelective(${table.className} record);

    List<${table.className}> selectByExample(${table.className}Example example);

    ${table.className} selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ${table.className} record, @Param("example") ${table.className}Example example);

    int updateByExample(@Param("record") ${table.className} record, @Param("example") ${table.className}Example example);

    int updateByPrimaryKeySelective(${table.className} record);

    int updateByPrimaryKey(${table.className} record);
    
    int countSuper(@Param ("q") String q);
    
    List<${table.className}> selectSuper(@Param("queryInfo") QueryInfo queryInfo, @Param ("q") String q);
    
}



